<?php
/**
 * 
 * Form_CreateTag
 * @package Form
 * @filesource /application/forms/CreateTag.php
 * @author Windy
 *
 */
class Form_Base extends Zend_Form
{
	protected  $formDecorators;
	protected $elementDecorators;
	protected $buttonDecorators;
	protected $hiddenDecorators;
	
	public function __construct()
    {
    	
    	$this->formDecorators = array(
    								array('FormElements'),
    								array('Form',array("name"=>$id, "class"=>$class))
    							);
    						
    	$this->elementDecorators = array(
    									array('Label', array()), 
    									array("HTMLTag",array("tag"=>"div","class"=>"row")),
    									array("Description",array("tag"=>"span"))
    								);
    	$this->buttonDecorators = array(
    									
										array('ViewHelper'),
										array("HTMLTag",array("tag"=>"div","class"=>"buttons"))
										
									);
									
		$this->hiddenDecorators = array(
    									
    									array("HTMLTag",array("tag"=>"div")),
    									array("Description",array("tag"=>"span"))
    								);					
    	//add decorator for form
        $this->addDecorators($this->formDecorators);
    }
}
 ?>